{{extend name="user/index"}}
{{block name="title"}}
<body data-type="login">
<script src="/static/admin/js/theme.js"></script>
{{/block}}
{{block name="content"}}
<div class="am-g tpl-g">
    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog">
        </div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">
                选择主题
            </div>
            <div class="tpl-skiner-content-bar">
                <span class="skiner-color skiner-white" data-color="theme-white"></span>
                <span class="skiner-color skiner-black" data-color="theme-black"></span>
            </div>
        </div>
    </div>
    <div class="tpl-login">
        <div class="tpl-login-content">
            <div class="tpl-login-title">添加用户</div>
            <span class="tpl-login-content-info">
                  创建一个新的用户
              </span>
            <form class="am-form tpl-form-line-form" action="{{:url('admin/index/save')}}" method="post">
                <div class="am-form-group">
                    <input type="text" class="tpl-form-input user-name" name="username" placeholder="用户名">
                </div>
                <div class="am-form-group">
                    <input type="text" class="tpl-form-input" name="name" placeholder="姓名">
                </div>
                <div class="am-form-group">
                    <input type="password" class="tpl-form-input" name="userpass" placeholder="请输入密码">
                </div>
                <div class="am-form-group">
                    <input type="password" class="tpl-form-input" name="repass" placeholder="再次输入密码">
                </div>
                <div class="am-form-group">
                    <button class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">提交
                    </button>

                </div>
            </form>
        </div>
    </div>
</div>
{{/block}}

